package com.lzd.pgyuploader.utils

class HandleState {
    private boolean isRunning
    private String msg

    HandleState() {
        this.isRunning = true
        this.msg = TextUtil.getColorString('lzd: all success!!', TextUtil.Color.green)
    }

    boolean getIsRunning() {
        return isRunning
    }

    String getMsg() {
        return msg
    }

    void setStop(String msg) {
        this.isRunning = false
        this.msg = TextUtil.getColorString(msg, TextUtil.Color.red)
    }
}